package com.cookbook.service;

import com.cookbook.database.model.FavoritesKey;

import java.util.List;

/**
 * Created by ASUS on 2017/7/4.
 */
public interface FavoriteService {
    List<FavoritesKey> select(Integer userid);
    void insert(Integer userid, Integer cookbookid);
    Long deleteSelfByFavoriteId(Integer user, Integer cookbook);

}
